#version 450
layout(location = 0) in vec2 vUV;

layout(set = 0, binding = 1) uniform sampler2D uTex;

// 若需要颜色调制，同步声明与 VS 相同的 UBO：
// layout(set = 0, binding = 0, std140) uniform TriangleUBO {
//     mat4  transform;
//     vec3  colorMultiplier;
//     float time;
// } ubo;

layout(location = 0) out vec4 outColor;

void main() {
    vec4 texColor = texture(uTex, vUV);              // 如需翻转Y，用 vec2(vUV.x, 1.0 - vUV.y)
    outColor = texColor;                             // 若启用调制：texColor * vec4(ubo.colorMultiplier, 1.0)
}